package com.jd.charactercalculator.biz.impl;

import java.util.List;

import com.jd.charactercalculator.biz.UserBiz;
import com.jd.charactercalculator.dao.UserDao;
import com.jd.charactercalculator.dto.param.UserParamDto;
import com.jd.charactercalculator.dto.result.PagingResultDto;
import com.jd.charactercalculator.dto.result.UserResultDto;
import com.jd.charactercalculator.service.UserService;

/**
 * 
 *
 * @author:孙林
 * @since:2012上午10:56:12
 * @version:1.0.0
 */
public class UserBizImpl implements UserBiz {

	private UserService userService;

	@Override
	public PagingResultDto getUsers(UserParamDto userParamDto) {
	
		return userService.getUsers(userParamDto);
	}

	public UserService getUserService() {
		return userService;
	}

	public void setUserService(UserService userService) {
		this.userService = userService;
	}

	@Override
	public boolean addUsers(List<UserParamDto> userParamDtoList) {
		return userService.addUsers(userParamDtoList);
	}

	@Override
	public boolean updateUsers(List<UserParamDto> userParamDtoList) {
		return userService.updateUsers(userParamDtoList);
	}
	
}
